<template>
	<div class="wrap">
		<hr />
		<div class="box">
			<img src="../../assets/image/成功.png" alt="" />
			<p class="paysuccess">支付成功</p>
			<button class="gogoods" @click="gogoods">查看订单</button><button class="goindex" @click="goindex">返回首页</button>
			<p class="number">订单编号 : 20150901144912ah4941</p>
		</div>
	</div>
</template>

<script>
	export default{
		name:"Ordersuccess",
		methods:{
			gogoods(){
				window.location.href = "#/myorder"
			},
			goindex(){
				window.location.href = "#/"
			}
		}
	}
</script>

<style scoped>
	.wrap{
		width: 1280px;
		margin: 0 auto;
	}
	.box{
		width: 390px;
		margin: 80px auto;
		text-align: center;
	}
	.paysuccess{
		font-size: 29px;
		margin-top: 40px;
		margin-bottom: 65px;
		color: #f08200;
	}
	button{
		width: 170px;
		height: 45px;
		color: white;
		font-size: 17px;
		border-radius: 3px;
	}
	.gogoods{
		background-color: #f08200;
		margin-right: 40px;
	}
	.goindex{
		background-color: #498e3d;
	}
	.number{
		margin-top: 20px;
		font-size: 17px;
		color: #666666;
	}
</style>